﻿using System.Collections.Generic;
using System.ComponentModel.Composition;
using TimeProject.Engine.Providers;

namespace TimeProject.WebSite.Exports
{
    [Export(typeof(IUserOptionProvider))]
    [TimeProjectPriority]
    public class UserOptionProvider : IUserOptionProvider
    {
        public const string UserOptionKeyDoNotShowSaturdaysAndSundaysOnTimesheets = "Default.DoNotShowSaturdaysAndSundaysOnTimesheets";

        public IEnumerable<BooleanUserOptionDefinition> GetBooleanUserOptionDefinitions()
        {
            yield return new BooleanUserOptionDefinition { Key = UserOptionKeyDoNotShowSaturdaysAndSundaysOnTimesheets, Title = "Do not show saturdays and sundays on timesheets." };
        }
    }
}